<template>
  <el-table :data="weightData" height="500px" stripe border>
    <el-table-column prop="date" label="日期"></el-table-column>
    <el-table-column prop="weight" label="体重"></el-table-column>
  </el-table>
</template>

<script>
// import DataAccess from "@/functions/DataAccess";

export default {
  name: "WeightTable",
  data() {
    return {
      // weightData: []
    }
  },
  props: ['weightData'],
  watch: {}
}
</script>

<style scoped>

</style>